


<%@page import="server.entity.Category"%>
<%@page import="server.process.ProcessBeanLocal"%>
<%@page import="javax.naming.InitialContext"%>
<%@page import="javax.naming.Context"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Web Photo Share</title>
        <link rel="stylesheet" href="style.css" type="text/css"/>
        <script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>

    </head>
    <body>
        <div id="wrapper">
            <div id="header">

                <h1>Photo Share</h1>
                <img src="header_right.gif" alt="hinh"/>
            </div>
            <div id="nav">
                <ul>
                    <li><a href="index.jsp">Home</a></li>
                    <li><a href="allcollection.jsp">Manage Collection</a></li>
                    <li><a href="allimage">Manage Image</a></li>
                    <li><a href="upload.jsp">Upload</a></li>
                    <li><a href="faq.jsp">FAQs</a></li>
                    <li class="end"><a href="contactus.jsp">Contact</a></li>
                </ul>
            </div>
            <div id="main">
                <div id="slidebar">
                    <div id="login">
                        <jsp:include page="login.jsp"></jsp:include>
                    </div>
                    <div id="search">
                        <jsp:include page="search.jsp"></jsp:include>
                    </div>
                    <div id="product">
                        <jsp:include page="categorypanel.jsp"></jsp:include>
                    </div>
                </div>
                <div id="content">
                    <a href="#">Home</a>-><a href="#">My Collection</a>-><a href="#">Upload Image</a>
                    <br/>
                    <h2>Upload Image</h2>
                    <br/>
                    <form action="douploadCategoryAdmin" method="POST" enctype="multipart/form-data">
                        <table border="0">
                            <tr>
                                <td colspan="2"><input type="file" name="photoupload" value="" /></td>
                            </tr>
                            <tr>
                                <td>Image Name</td>
                                <td><input type="text" name="txtName" value="Image Name"/></td>
                            </tr>
                            <tr>
                                <td>Image Description</td>
                                <td><input type="text" name="txtDescription" value="Image Description"/></td>
                            </tr>
                            <tr>
                                <td>Tag</td>
                                <td><input type="text" name="tag" value="Image Tag"/></td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="hidden" name="slCollection" value="<%= request.getParameter("id") %>"/>
                                    <input type="submit" name="action" value="Upload"/>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
            <div id="footer">

            </div>
        </div>
    </body>
</html>

